async function ajaxGet(url,param){
    var info = null;
    await axios.get(url,{params:param}).then(e =>{
        info = e.data;
    });
    return info;
}

async function ajaxPost(url,param){
    var info = null;
    var obj = new URLSearchParams();
    for(field in param){
        obj.append(field,param[field]);
    }

    await axios.post(url,obj).then(e =>{
        info = e.data;
    });
    return info;
}

function $(id){
    return document.getElementById(id);
}